xScale
Type
property
Summary
Specifies the ratio of the width of an EPS object's PostScript bounding box to the object's screen width.
Syntax
set the xScale of <EPSObject> to <number>
Description
Use the xScale property to control an EPS object's screen appearance.
The number 1 indicates no scaling--that is, the EPS object's width is the same as the width specified by the PostScript code it contains. Numbers greater than one indicate that the object's width is less than the PostScript width; the screen object is scaled down. Numbers less than one indicate that the object's width is greater than the PostScript width, and the screen object is scaled up from the PostScript.
In geometric terms, xScale = xExtent/width.
If the object's scaleIndependently property is false, the xScale property is equal to the scale of the object.
This property is supported only on Unix systems with Display PostScript installed.
Examples
set the xScale of EPS 2 to 1.0 -- no scaling
Related
glossary: EPS, property, object
property: scaleIndependently, postScript, scale
Compatibility and Support
Introduced
LiveCode 1.0
OS
linux
Platforms
desktop